package com.kandinfo.isbnmanage.domian;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.kandinfo.base.admin.domain.BaseDomain;

/**
 * 
 * isbn条形码任务分发
 * 
 * @author qiweiyang
 *
 */
@Entity
@Table(name = "isbn_distribute")
public class IsbnDistribute extends BaseDomain implements Serializable {

	
	private static final long serialVersionUID = 1769953439911771832L;

	@Column(name = "type")
    private Integer type;

    @Column(name = "distribute_from")
    private Long distributeFrom;

    @Column(name = "distribute_to")
    private Long distributeTo;

    @Column(name = "comments")
    private String comments;

    @Column(name = "ref_key")
    private Long refKey;
    
    @Column(name = "status")
    private Integer status;
    
    @Column(name = "barcode")
    private String barcode;

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getDistributeFrom() {
		return distributeFrom;
	}

	public void setDistributeFrom(Long distributeFrom) {
		this.distributeFrom = distributeFrom;
	}

	public Long getDistributeTo() {
		return distributeTo;
	}

	public void setDistributeTo(Long distributeTo) {
		this.distributeTo = distributeTo;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public Long getRefKey() {
		return refKey;
	}

	public void setRefKey(Long refKey) {
		this.refKey = refKey;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getBarcode() {
		return barcode;
	}

	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}

}
